WPForms\Forms\Fields\PaymentTotal\Field B

Total Complexity 79
Dependencies 1
Dependents 0
Total lines 839
Lines of code 392
Logical lines of code 172
Comment lines 306
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
field_display()
A
44 9 42
prepare_payment_field_choices()
A
49 10 26
get_classic_dropdown_default_choice_key()
S
60 6 12
prepare_payment_fields_data()
S
51 5 25
prepare_payment_field_single()
S
52 5 23
order_summary_confirmation()
S
56 5 19
calculate_total_static()
S
58 5 15
summary_option()
S
49 3 37
field_properties()
S
57 4 15
validate()
S
69 4 5
prepare_builder_preview_data()
S
48 1 35
field_options()
S
51 1 32
array_key_first()
S
65 3 9
preview_field_class()
S
66 3 9
get_payment_field_min_quantity()
S
69 3 6
format()
S
60 2 12
summary_option_notice()
S
63 2 11
field_preview()
S
58 1 15
add_confirmation_setting()
S
60 1 15
calculate_total()
S
78 1 3
is_dynamic_population_allowed()
S
82 1 3
is_fallback_population_allowed()
S
82 1 3
is_summary_enabled()
S
79 1 3
hooks()
S
65 1 8
init()
S
65 1 9